<?php
session_start();

@include_once('../adodb/adodb.inc.php');
@include_once('../adodb/tohtml.inc.php'); 
@include_once('adodb/adodb.inc.php');
@include_once('adodb/tohtml.inc.php'); 

$DBConnection="remote";

define('TABLEPREFIX','gt');

if($DBConnection=="local")
{
	/*---------Local Connection Starts----------*/

	$user="root";

	$pass="";

	$host="localhost";

	$db_name="game_tutor";	

	$adodbcon = &ADONewConnection('mysql'); 

	$adodbcon->debug=false;

	$adodbcon->Connect($host,$user,$pass,$db_name);    

	

	/*---------Local Connection Ends------------*/

	/*---------Local URL Info Starts----------*/

	$domainName  = "http://192.168.0.120/team2/game_tutor";

	$site_url  = "http://192.168.0.120/team2/game_tutor";

	$site_url_ssl  = "http://192.168.0.120/team2/game_tutor";

	$site_name = "http://192.168.0.120/team2/game_tutor";

	/*---------Local URL Info Ends------------*/
	define('SITE_URL','http://192.168.0.120/team2/game_tutor');
}

elseif($DBConnection=="remote")
{	

	/*---------Local Connection Starts----------*/

	$user="citytech_dbuser1";

	$pass="silmJegL5u5B";

	$host="localhost";

	$db_name="citytech_dbgeneral";	

	$adodbcon = &ADONewConnection('mysql'); 

	$adodbcon->debug=false;

	$adodbcon->Connect($host,$user,$pass,$db_name);    

	

	/*---------Local Connection Ends------------*/

	/*---------Local URL Info Starts----------*/

	$domainName  = "http://www.citytechsoftware.com/home/global_esports/";

	$site_url  = "http://www.citytechsoftware.com/home/global_esports/";

	$site_url_ssl  = "http://www.citytechsoftware.com/home/global_esports/";

	$site_name = "http://www.citytechsoftware.com/home/global_esports/";
	
	define('SITE_URL','http://www.citytechsoftware.com/home/global_esports');

	/*---------Local URL Info Ends------------*/

}
/* Payment Details Starts */
$PaypalID="ananda_1247833756_per@citytechcorp.com";
$PaymentMode="Test";
if($PaymentMode=='Test')	
	$PaypalUrl='https://www.sandbox.paypal.com/cgi-bin/webscr';	
elseif($PaymentMode=='Live')	
	$PaypalUrl='https://www.paypal.com/cgi-bin/webscr';	
/* Payment Details Ends */

$admin_email=$adodbcon->GetOne("SELECT admin_email FROM ".TABLEPREFIX."_admin WHERE admin_id='1'");

$items_per_page   = 30;
